package dhy.lyb.change.model;

import org.springframework.stereotype.Component;

/**
 * Created by Administrator on 2016/11/25.
 */
@Component("activity")
public class Activity {
    private int id;
    private String name;

    private UserActivityCustom userActivityCustom;

    public Activity() {
    }

    public Activity(int id, String name, UserActivityCustom userActivityCustom) {
        this.id = id;
        this.name = name;
        this.userActivityCustom = userActivityCustom;
    }

    @Override
    public String toString() {
        return "Activity{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", userActivityCustom=" + userActivityCustom +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public UserActivityCustom getUserActivityCustom() {
        return userActivityCustom;
    }

    public void setUserActivityCustom(UserActivityCustom userActivityCustom) {
        this.userActivityCustom = userActivityCustom;
    }
}
